package moe.oil.exception.feedback;

import moe.oil.exception.ErrorType;
import moe.oil.exception.ServiceException;
import org.springframework.http.HttpStatus;

public class FeedbackIdNotFoundException extends ServiceException {
    public FeedbackIdNotFoundException(Long id) {
        super(
                String.format("user %d not found", id),
                HttpStatus.NOT_FOUND,
                ErrorType.INVALID,
                id
        );
    }
}
